#ifndef ___MSG_HANDLER_FOR_LOGIC__
#define ___MSG_HANDLER_FOR_LOGIC__


#include "Message/MsgHandlerImp.h"
#include "Entity/EntityManagerIf.h"
#include "Scene/SceneManagerIf.h"
#include "Player/PlayerData.h"

class Service;

class  MsgHandlerInitDataLgc : public IMsgHandlerInitData
{
public:
	MsgHandlerInitDataLgc(Service* SvcHost, Service* SvcLgc,Service* SvcDB) :wpSvcDB(SvcDB), wpSvcLgc(SvcLgc), wpSvcHost(SvcHost), wpPlayerDataMgr(NULL){}
	Service*	wpSvcHost;
	Service*	wpSvcDB;
	Service*	wpSvcLgc;

	IEntityManager*	wpEttMgrL;
	IEntityManager* wpEttMgrW;
	ISceneManager*	wpScnMgr;

	PlayerDataManager*	wpPlayerDataMgr;
};

class  MsgHandlerLgc : public MsgHandlerImp
{
public:
	MsgHandlerLgc();
	~MsgHandlerLgc();

	virtual bool initialize(IMsgHandlerInitData* data) ;

	Service* getSvcHost() const;
	Service* getSvcDB() const;
	Service* getSvcLgc() const;
protected:
	Service*	m_wpSvcLgc;
	Service*	m_wpSvcDB;
	Service*	m_wpSvcHost;
};




#endif